package org.iqiyi;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = "org.iqiyi.feign")
@EnableDiscoveryClient
@EnableMethodCache(basePackages = "org.iqiyi.controller")
@EnableCreateCacheAnnotation
@MapperScan(basePackages = "org.iqiyi.mapper")
@SpringBootApplication(scanBasePackages = "org.iqiyi")
public class NewsApplication {
    public static void main(String[] args) {
        SpringApplication.run(NewsApplication.class,args);
    }
}
